package com.flynn.rock.crm.model.customer;

import com.flynn.rock.annotation.Query;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class QueryCustomerCriteria implements Serializable {

    @Query(type = Query.Type.INNER_LIKE)
    private String customerName;

    @Query(type = Query.Type.INNER_LIKE)
    private String customerCode;

    @Query(type = Query.Type.INNER_LIKE)
    private String identityNumber;

    @Query(type = Query.Type.INNER_LIKE)
    private String phone;
}
